
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <title>前言 · 学习 RxJS 操作符</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.1.1">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-advanced-emoji/emoji-website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-prism/prism.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="operators/" />
    
    
    <link rel="prev" href="about/README.md" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"RxJS-CN","repo":"learn-rxjs-operators","type":"star","size":"small","count":true},{"user":"RxJS-CN","repo":"learn-rxjs-operators","type":"fork","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" >
            
                <a target="_blank" href="https://github.com/RxJS-CN/learn-rxjs-operators">
            
                    
                    学习 RxJS 操作符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="about/README.md">
            
                <span>
            
                    
                    关于中文版
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">学习 RxJS</li>
        
        
    
        <li class="chapter active" data-level="2.1" data-path="./">
            
                <a href="./">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="operators/">
            
                <a href="operators/">
            
                    
                    操作符
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="operators/combination/">
            
                <a href="operators/combination/">
            
                    
                    组合
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1.1" data-path="operators/combination/combineall.html">
            
                <a href="operators/combination/combineall.html">
            
                    
                    combineAll
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.2" data-path="operators/combination/combinelatest.html">
            
                <a href="operators/combination/combinelatest.html">
            
                    
                    combineLatest
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.3" data-path="operators/combination/concat.html">
            
                <a href="operators/combination/concat.html">
            
                    
                    concat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.4" data-path="operators/combination/concatall.html">
            
                <a href="operators/combination/concatall.html">
            
                    
                    concatAll
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.5" data-path="operators/combination/forkjoin.html">
            
                <a href="operators/combination/forkjoin.html">
            
                    
                    forkJoin
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.6" data-path="operators/combination/merge.html">
            
                <a href="operators/combination/merge.html">
            
                    
                    merge
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.7" data-path="operators/combination/mergeall.html">
            
                <a href="operators/combination/mergeall.html">
            
                    
                    mergeAll
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.8" data-path="operators/combination/pairwise.html">
            
                <a href="operators/combination/pairwise.html">
            
                    
                    pairwise
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.9" data-path="operators/combination/race.html">
            
                <a href="operators/combination/race.html">
            
                    
                    race
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.10" data-path="operators/combination/startwith.html">
            
                <a href="operators/combination/startwith.html">
            
                    
                    startWith
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.11" data-path="operators/combination/withlatestfrom.html">
            
                <a href="operators/combination/withlatestfrom.html">
            
                    
                    withLatestFrom
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.12" data-path="operators/combination/zip.html">
            
                <a href="operators/combination/zip.html">
            
                    
                    zip
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="operators/conditional/">
            
                <a href="operators/conditional/">
            
                    
                    条件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.2.1" data-path="operators/conditional/defaultifempty.html">
            
                <a href="operators/conditional/defaultifempty.html">
            
                    
                    defaultIfEmpty
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.2" data-path="operators/conditional/every.html">
            
                <a href="operators/conditional/every.html">
            
                    
                    every
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="operators/creation/">
            
                <a href="operators/creation/">
            
                    
                    创建
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.3.1" data-path="operators/creation/create.html">
            
                <a href="operators/creation/create.html">
            
                    
                    create
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.2" data-path="operators/creation/empty.html">
            
                <a href="operators/creation/empty.html">
            
                    
                    empty
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.3" data-path="operators/creation/from.html">
            
                <a href="operators/creation/from.html">
            
                    
                    from
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.4" data-path="operators/creation/fromevent.html">
            
                <a href="operators/creation/fromevent.html">
            
                    
                    fromEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.5" data-path="operators/creation/frompromise.html">
            
                <a href="operators/creation/frompromise.html">
            
                    
                    fromPromise
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.6" data-path="operators/creation/interval.html">
            
                <a href="operators/creation/interval.html">
            
                    
                    interval
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.7" data-path="operators/creation/of.html">
            
                <a href="operators/creation/of.html">
            
                    
                    of
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.8" data-path="operators/creation/range.html">
            
                <a href="operators/creation/range.html">
            
                    
                    range
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.9" data-path="operators/creation/throw.html">
            
                <a href="operators/creation/throw.html">
            
                    
                    throw
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.10" data-path="operators/creation/timer.html">
            
                <a href="operators/creation/timer.html">
            
                    
                    timer
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="operators/error_handling/">
            
                <a href="operators/error_handling/">
            
                    
                    错误处理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.4.1" data-path="operators/error_handling/catch.html">
            
                <a href="operators/error_handling/catch.html">
            
                    
                    catchError
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.4.2" data-path="operators/error_handling/retry.html">
            
                <a href="operators/error_handling/retry.html">
            
                    
                    retry
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.4.3" data-path="operators/error_handling/retrywhen.html">
            
                <a href="operators/error_handling/retrywhen.html">
            
                    
                    retryWhen
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="operators/multicasting/">
            
                <a href="operators/multicasting/">
            
                    
                    多播
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.5.1" data-path="operators/multicasting/publish.html">
            
                <a href="operators/multicasting/publish.html">
            
                    
                    publish
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.5.2" data-path="operators/multicasting/multicast.html">
            
                <a href="operators/multicasting/multicast.html">
            
                    
                    multicast
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.5.3" data-path="operators/multicasting/share.html">
            
                <a href="operators/multicasting/share.html">
            
                    
                    share
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.5.4" data-path="operators/multicasting/sharereplay.html">
            
                <a href="operators/multicasting/sharereplay.html">
            
                    
                    shareReplay
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.6" data-path="operators/filtering/">
            
                <a href="operators/filtering/">
            
                    
                    过滤
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.6.1" data-path="operators/filtering/debounce.html">
            
                <a href="operators/filtering/debounce.html">
            
                    
                    debounce
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.2" data-path="operators/filtering/debouncetime.html">
            
                <a href="operators/filtering/debouncetime.html">
            
                    
                    debounceTime
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.3" data-path="operators/filtering/distinctuntilchanged.html">
            
                <a href="operators/filtering/distinctuntilchanged.html">
            
                    
                    distinctUntilChanged
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.4" data-path="operators/filtering/filter.html">
            
                <a href="operators/filtering/filter.html">
            
                    
                    filter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.5" data-path="operators/filtering/first.html">
            
                <a href="operators/filtering/first.html">
            
                    
                    first
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.6" data-path="operators/filtering/ignoreelements.html">
            
                <a href="operators/filtering/ignoreelements.html">
            
                    
                    ignoreElements
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.7" data-path="operators/filtering/last.html">
            
                <a href="operators/filtering/last.html">
            
                    
                    last
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.8" data-path="operators/filtering/sample.html">
            
                <a href="operators/filtering/sample.html">
            
                    
                    sample
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.9" data-path="operators/filtering/single.html">
            
                <a href="operators/filtering/single.html">
            
                    
                    single
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.10" data-path="operators/filtering/skip.html">
            
                <a href="operators/filtering/skip.html">
            
                    
                    skip
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.11" data-path="operators/filtering/skipuntil.html">
            
                <a href="operators/filtering/skipuntil.html">
            
                    
                    skipUntil
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.12" data-path="operators/filtering/skipwhile.html">
            
                <a href="operators/filtering/skipwhile.html">
            
                    
                    skipWhile
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.13" data-path="operators/filtering/take.html">
            
                <a href="operators/filtering/take.html">
            
                    
                    take
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.14" data-path="operators/filtering/takeuntil.html">
            
                <a href="operators/filtering/takeuntil.html">
            
                    
                    takeUntil
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.15" data-path="operators/filtering/takewhile.html">
            
                <a href="operators/filtering/takewhile.html">
            
                    
                    takeWhile
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.16" data-path="operators/filtering/throttle.html">
            
                <a href="operators/filtering/throttle.html">
            
                    
                    throttle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.17" data-path="operators/filtering/throttletime.html">
            
                <a href="operators/filtering/throttletime.html">
            
                    
                    throttleTime
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.7" data-path="operators/transformation/">
            
                <a href="operators/transformation/">
            
                    
                    转换
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.7.1" data-path="operators/transformation/buffer.html">
            
                <a href="operators/transformation/buffer.html">
            
                    
                    buffer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.2" data-path="operators/transformation/buffercount.html">
            
                <a href="operators/transformation/buffercount.html">
            
                    
                    bufferCount
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.3" data-path="operators/transformation/buffertime.html">
            
                <a href="operators/transformation/buffertime.html">
            
                    
                    bufferTime
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.4" data-path="operators/transformation/buffertoggle.html">
            
                <a href="operators/transformation/buffertoggle.html">
            
                    
                    bufferToggle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.5" data-path="operators/transformation/bufferwhen.html">
            
                <a href="operators/transformation/bufferwhen.html">
            
                    
                    bufferWhen
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.6" data-path="operators/transformation/concatmap.html">
            
                <a href="operators/transformation/concatmap.html">
            
                    
                    concatMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.7" data-path="operators/transformation/concatmapto.html">
            
                <a href="operators/transformation/concatmapto.html">
            
                    
                    concatMapTo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.8" data-path="operators/transformation/exhaustmap.html">
            
                <a href="operators/transformation/exhaustmap.html">
            
                    
                    exhaustMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.9" data-path="operators/transformation/expand.html">
            
                <a href="operators/transformation/expand.html">
            
                    
                    expand
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.10" data-path="operators/transformation/exhaustmap.html">
            
                <a href="operators/transformation/exhaustmap.html">
            
                    
                    exhaustMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.11" data-path="operators/transformation/groupby.html">
            
                <a href="operators/transformation/groupby.html">
            
                    
                    groupBy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.12" data-path="operators/transformation/map.html">
            
                <a href="operators/transformation/map.html">
            
                    
                    map
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.13" data-path="operators/transformation/mapto.html">
            
                <a href="operators/transformation/mapto.html">
            
                    
                    mapTo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.14" data-path="operators/transformation/mergemap.html">
            
                <a href="operators/transformation/mergemap.html">
            
                    
                    mergeMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.15" data-path="operators/transformation/partition.html">
            
                <a href="operators/transformation/partition.html">
            
                    
                    partition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.16" data-path="operators/transformation/pluck.html">
            
                <a href="operators/transformation/pluck.html">
            
                    
                    pluck
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.17" data-path="operators/transformation/reduce.html">
            
                <a href="operators/transformation/reduce.html">
            
                    
                    reduce
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.18" data-path="operators/transformation/scan.html">
            
                <a href="operators/transformation/scan.html">
            
                    
                    scan
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.19" data-path="operators/transformation/switchmap.html">
            
                <a href="operators/transformation/switchmap.html">
            
                    
                    switchMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.20" data-path="operators/transformation/window.html">
            
                <a href="operators/transformation/window.html">
            
                    
                    window
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.21" data-path="operators/transformation/windowcount.html">
            
                <a href="operators/transformation/windowcount.html">
            
                    
                    windowCount
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.22" data-path="operators/transformation/windowtime.html">
            
                <a href="operators/transformation/windowtime.html">
            
                    
                    windowTime
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.23" data-path="operators/transformation/windowtoggle.html">
            
                <a href="operators/transformation/windowtoggle.html">
            
                    
                    windowToggle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7.24" data-path="operators/transformation/windowwhen.html">
            
                <a href="operators/transformation/windowwhen.html">
            
                    
                    windowWhen
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.8" data-path="operators/utility/">
            
                <a href="operators/utility/">
            
                    
                    工具
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.8.1" data-path="operators/utility/do.html">
            
                <a href="operators/utility/do.html">
            
                    
                    do
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.2" data-path="operators/utility/delay.html">
            
                <a href="operators/utility/delay.html">
            
                    
                    delay
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.3" data-path="operators/utility/delaywhen.html">
            
                <a href="operators/utility/delaywhen.html">
            
                    
                    delayWhen
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.4" data-path="operators/utility/dematerialize.html">
            
                <a href="operators/utility/dematerialize.html">
            
                    
                    dematerialize
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.5" data-path="operators/utility/let.html">
            
                <a href="operators/utility/let.html">
            
                    
                    let
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.6" data-path="operators/utility/timeout.html">
            
                <a href="operators/utility/timeout.html">
            
                    
                    timeout
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.7" data-path="operators/utility/topromise.html">
            
                <a href="operators/utility/topromise.html">
            
                    
                    toPromise
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.9" data-path="operators/complete.html">
            
                <a href="operators/complete.html">
            
                    
                    完整列表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="recipes/">
            
                <a href="recipes/">
            
                    
                    食谱
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="recipes/smartcounter.html">
            
                <a href="recipes/smartcounter.html">
            
                    
                    智能计数器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="recipes/progressbar.html">
            
                <a href="recipes/progressbar.html">
            
                    
                    进度条
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="recipes/gameloop.html">
            
                <a href="recipes/gameloop.html">
            
                    
                    游戏循环
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="concepts/">
            
                <a href="concepts/">
            
                    
                    概念
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="concepts/rxjs5-6.html">
            
                <a href="concepts/rxjs5-6.html">
            
                    
                    RxJS v5 -> v6 升级
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="concepts/operator-imports.html">
            
                <a href="concepts/operator-imports.html">
            
                    
                    理解操作符导入
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >前言</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5B66;&#x4E60;-rxjs">&#x5B66;&#x4E60; RxJS</h1>
<p>RxJS &#x7684;&#x6E05;&#x6670;&#x793A;&#x4F8B;&#x3001;&#x89E3;&#x91CA;&#x53CA;&#x8D44;&#x6E90;&#x3002;</p>
<p><em>&#x4F5C;&#x8005; <a href="https://twitter.com/BTroncone" target="_blank">@btroncone</a></em></p>
<h2 id="&#x524D;&#x8A00;">&#x524D;&#x8A00;</h2>
<p><a href="https://github.com/ReactiveX/rxjs" target="_blank">RxJS</a> &#x662F;&#x5F53;&#x524D; web &#x5F00;&#x53D1;&#x4E2D;&#x6700;&#x70ED;&#x95E8;&#x7684;&#x5E93;&#x4E4B;&#x4E00;&#x3002;&#x5B83;&#x63D0;&#x4F9B;&#x5F3A;&#x5927;&#x7684;&#x529F;&#x80FD;&#x6027;&#x65B9;&#x6CD5;&#x6765;&#x5904;&#x7406;&#x4E8B;&#x4EF6;&#xFF0C;&#x5E76;&#x5C06;&#x96C6;&#x6210;&#x70B9;&#x96C6;&#x4E2D;&#x5230;&#x8D8A;&#x6765;&#x8D8A;&#x591A;&#x7684;&#x6846;&#x67B6;&#x3001;&#x5E93;&#x548C;&#x5B9E;&#x7528;&#x7A0B;&#x5E8F;&#x4E2D;&#xFF0C;&#x8FD9;&#x4E00;&#x5207;&#x4F7F;&#x5F97;&#x5B66;&#x4E60; Rx &#x53D8;&#x5F97;&#x524D;&#x6240;&#x672A;&#x6709;&#x7684;&#x5438;&#x5F15;&#x4EBA;&#x3002;&#x5E76;&#x4E14;&#x5B83;&#x8FD8;&#x6709;&#x80FD;&#x529B;&#x5229;&#x7528;&#x4F60;&#x4E4B;&#x524D;&#x6240;&#x638C;&#x63E1;&#x7684;&#x8BED;&#x8A00;&#x77E5;&#x8BC6;&#xFF0C;&#x56E0;&#x4E3A;&#x5B83;<a href="http://reactivex.io/languages.html" target="_blank">&#x51E0;&#x4E4E;&#x6DB5;&#x76D6;&#x4E86;&#x6240;&#x6709;&#x8BED;&#x8A00;</a>&#x3002;&#x5982;&#x679C;&#x719F;&#x7EC3;&#x638C;&#x63E1;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B; (reactive programming) &#x7684;&#x8BDD;&#xFF0C;&#x90A3;&#x5B83;&#x6240;&#x63D0;&#x4F9B;&#x7684;&#x4E00;&#x5207;&#x4F3C;&#x4E4E;&#x90FD;&#x53EF;&#x4EE5;&#x53D8;&#x5F97;&#x5F88;&#x5BB9;&#x6613;&#x3002;</p>
<p><strong>&#x4F46;&#x662F;...</strong></p>
<p>&#x5B66;&#x4E60; RxJS &#x548C;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;&#x5F88;<a href="https://twitter.com/hoss/status/742643506536153088" target="_blank">&#x96BE;</a>&#x3002;&#x5B83;&#x6709;&#x7740;&#x4F17;&#x591A;&#x7684;&#x6982;&#x5FF5;&#xFF0C;&#x5927;&#x91CF;&#x7684;&#x8868;&#x5C42; API &#x548C;&#x4ECE;<a href="http://codenugget.co/2015/03/05/declarative-vs-imperative-programming-web.html" target="_blank">&#x547D;&#x4EE4;&#x5F0F;&#x5230;&#x58F0;&#x660E;&#x5F0F;&#x98CE;&#x683C;</a>&#x7684;&#x601D;&#x7EF4;&#x8F6C;&#x6362;&#x3002;&#x672C;&#x7F51;&#x7AD9;&#x81F4;&#x529B;&#x4E8E;&#x8BA9;&#x8FD9;&#x4E9B;&#x6982;&#x5FF5;&#x66F4;&#x5BB9;&#x6613;&#x7406;&#x89E3;&#xFF0C;&#x793A;&#x4F8B;&#x6E05;&#x6670;&#x4E14;&#x5BB9;&#x6613;&#x89E3;&#x91CA;&#xFF0C;&#x5E76;&#x4E14;&#x529F;&#x80FD;&#x53C2;&#x8003;&#x4E86;&#x7F51;&#x7EDC;&#x4E0A;&#x6700;&#x597D;&#x7684; RxJS &#x76F8;&#x5173;&#x8D44;&#x6E90;&#x3002;&#x76EE;&#x6807;&#x662F;&#x589E;&#x5F3A;<a href="http://reactivex.io/rxjs/" target="_blank">&#x5B98;&#x65B9;&#x6587;&#x6863;</a>&#xFF0C;&#x5E76;&#x4E14;&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x4E2A;&#x5168;&#x65B0;&#x7684;&#xFF0C;&#x65B0;&#x9C9C;&#x7684;&#x89C6;&#x89D2;&#xFF0C;&#x4EE5;&#x6E05;&#x9664;&#x4EFB;&#x4F55;&#x5B66;&#x4E60;&#x4E0A;&#x7684;&#x969C;&#x788D;&#x548C;&#x89E3;&#x51B3;&#x521D;&#x5B66;&#x8005;&#x7684;&#x75DB;&#x70B9;&#x3002;&#x5B66;&#x4E60; Rx &#x6216;&#x8BB8;&#x662F;&#x56F0;&#x96BE;&#x7684;&#xFF0C;&#x4F46;&#x662F;&#x5B83;&#x7EDD;&#x5BF9;&#x503C;&#x5F97;&#x4F60;&#x53BB;&#x4ED8;&#x51FA;&#xFF01;</p>
<div class="ua-ad"><a href="https://ultimateangular.com/?ref=76683_kee7y7vk" target="_blank"><img src="https://ultimateangular.com/assets/img/banners/ua-leader.svg"></a></div>

<h2 id="&#x5185;&#x5BB9;">&#x5185;&#x5BB9;</h2>
<h4 id="&#x64CD;&#x4F5C;&#x7B26;">&#x64CD;&#x4F5C;&#x7B26;</h4>
<p>&#x64CD;&#x4F5C;&#x7B26;&#x662F; observables &#x80CC;&#x540E;&#x7684;&#x9A6C;&#x529B;&#xFF0C;&#x4E3A;&#x590D;&#x6742;&#x7684;&#x5F02;&#x6B65;&#x4EFB;&#x52A1;&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x79CD;&#x4F18;&#x96C5;&#x7684;&#x58F0;&#x660E;&#x5F0F;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x3002;&#x672C;&#x7AE0;&#x8282;&#x6DB5;&#x76D6;&#x4E86;&#x6240;&#x6709; <a href="operators/">RxJS &#x64CD;&#x4F5C;&#x7B26;</a>&#xFF0C;&#x8FD8;&#x9644;&#x5E26;&#x5728; <a href="https://jsbin.com" target="_blank">JSBin</a> &#x548C; <a href="https://jsfiddle.net" target="_blank">JSFiddle</a> &#x5747;&#x53EF;&#x6267;&#x884C;&#x7684;&#x6E05;&#x6670;&#x793A;&#x4F8B;&#x3002;&#x9002;&#x5F53;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x8FD8;&#x4F1A;&#x4E3A;&#x6BCF;&#x4E2A;&#x64CD;&#x4F5C;&#x7B26;&#x63D0;&#x4F9B;&#x5176;&#x4ED6;&#x8D44;&#x6E90;&#x548C;&#x4F7F;&#x7528;&#x6280;&#x5DE7;&#x7684;&#x94FE;&#x63A5;&#x3002;</p>
<h5 id="&#x5206;&#x7C7B;">&#x5206;&#x7C7B;</h5>
<ul>
<li><a href="operators/combination/">&#x7EC4;&#x5408;</a></li>
<li><a href="operators/conditional/">&#x6761;&#x4EF6;</a></li>
<li><a href="operators/creation/">&#x521B;&#x5EFA;</a></li>
<li><a href="operators/error_handling/">&#x9519;&#x8BEF;&#x5904;&#x7406;</a></li>
<li><a href="operators/multicasting/">&#x591A;&#x64AD;</a></li>
<li><a href="operators/filtering/">&#x8FC7;&#x6EE4;</a></li>
<li><a href="operators/transformation/">&#x8F6C;&#x6362;</a></li>
<li><a href="operators/utility/">&#x5DE5;&#x5177;</a></li>
</ul>
<p><strong>&#x6216;&#x8005;...</strong></p>
<p><a href="operators/complete.html">&#x6309;&#x5B57;&#x6BCD;&#x987A;&#x5E8F;&#x6392;&#x5217;&#x7684;&#x5B8C;&#x6574;&#x5217;&#x8868;</a></p>
<h4 id="&#x6982;&#x5FF5;">&#x6982;&#x5FF5;</h4>
<p>&#x5982;&#x679C;&#x5BF9; Observables &#x80CC;&#x540E;&#x7684;&#x5DE5;&#x4F5C;&#x539F;&#x7406;&#x6CA1;&#x6709;&#x624E;&#x5B9E;&#x7684;&#x57FA;&#x7840;&#x77E5;&#x8BC6;&#xFF0C;&#x5F88;&#x5BB9;&#x6613;&#x611F;&#x89C9; RxJS &#x5C31;&#x50CF;&#x662F;&#x201C;&#x9B54;&#x6CD5;&#x201D;&#x4E00;&#x822C;&#x3002;&#x672C;&#x7AE0;&#x8282;&#x6709;&#x52A9;&#x4E8E;&#x5DE9;&#x56FA;&#x6240;&#x9700;&#x7684;&#x4E3B;&#x8981;&#x6982;&#x5FF5;&#xFF0C;&#x4EE5;&#x4FBF;&#x5BF9;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;&#x548C; Observables &#x5F97;&#x5FC3;&#x5E94;&#x624B;&#x3002;</p>
<p><a href="concepts/">&#x5B8C;&#x6574;&#x7684;&#x6982;&#x5FF5;&#x5217;&#x8868;</a></p>
<h4 id="&#x98DF;&#x8C31;">&#x98DF;&#x8C31;</h4>
<p>&#x98DF;&#x8C31;&#x7528;&#x4E8E;&#x4F7F;&#x7528; RxJS &#x7684;&#x5E38;&#x7528;&#x7528;&#x4F8B;&#x548C;&#x6709;&#x8DA3;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x3002;</p>
<p><a href="recipes/">&#x5B8C;&#x6574;&#x7684;&#x98DF;&#x8C31;&#x5217;&#x8868;</a></p>
<h2 id="&#x4ECB;&#x7ECD;&#x6027;&#x8D44;&#x6E90;">&#x4ECB;&#x7ECD;&#x6027;&#x8D44;&#x6E90;</h2>
<p>RxJS &#x548C;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;&#x7684;&#x65B0;&#x624B;&#xFF1F;&#x9664;&#x4E86;&#x672C;&#x7F51;&#x7AD9;&#x4E0A;&#x53D1;&#x73B0;&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x8FD9;&#x4E9B;&#x4F18;&#x79C0;&#x7684;&#x6587;&#x7AE0;&#x548C;&#x89C6;&#x9891;&#x4E5F;&#x5C06;&#x6709;&#x52A9;&#x4E8E;&#x4F60;&#x5FEB;&#x901F;&#x79EF;&#x7D2F;&#x5B66;&#x4E60;&#x7ECF;&#x9A8C;&#xFF01;</p>
<h4 id="&#x9605;&#x8BFB;">&#x9605;&#x8BFB;</h4>
<ul>
<li><a href="http://reactivex.io/rxjs/manual/overview.html#introduction" target="_blank">RxJS &#x5165;&#x95E8;</a> - &#x5B98;&#x65B9;&#x6587;&#x6863;</li>
<li><a href="https://gist.github.com/staltz/868e7e9bc2a7b8c1f754" target="_blank">&#x4E0D;&#x5BB9;&#x9519;&#x8FC7;&#x7684;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;-&#x4ECB;&#x7ECD;</a> - Andr&#xE9; Staltz</li>
</ul>
<h4 id="&#x89C6;&#x9891;">&#x89C6;&#x9891;</h4>
<ul>
<li><a href="https://egghead.io/courses/mastering-asynchronous-programming-the-end-of-the-loop" target="_blank">&#x5F02;&#x6B65;&#x7F16;&#x7A0B;: &#x5FAA;&#x73AF;&#x7EC8;&#x7ED3;&#x8005;</a> - Jafar Husain</li>
<li><a href="https://egghead.io/lessons/rxjs-what-is-rxjs" target="_blank">&#x4EC0;&#x4E48;&#x662F; RxJS &#xFF1F;</a> - Ben Lesh</li>
<li><a href="https://egghead.io/lessons/rxjs-creating-observable-from-scratch" target="_blank">&#x4ECE;&#x96F6;&#x5F00;&#x59CB;&#x521B;&#x5EFA; Observable</a> - Ben Lesh</li>
<li><a href="https://egghead.io/lessons/rxjs-introduction-to-rxjs-marble-testing" target="_blank">&#x4ECB;&#x7ECD; RxJS &#x7684;&#x5F39;&#x73E0;&#x6D4B;&#x8BD5;</a> - Brian Troncone</li>
<li><a href="https://egghead.io/courses/introduction-to-reactive-programming" target="_blank">&#x4ECB;&#x7ECD;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;</a> <img align="absmiddle" alt=":dollar:" class="emoji" src="gitbook/gitbook-plugin-advanced-emoji/emojis/dollar.png" title=":dollar:"> - Andr&#xE9; Staltz</li>
<li><a href="https://www.youtube.com/watch?v=HT7JiiqnYYc&amp;feature=youtu.be" target="_blank">&#x4F7F;&#x7528; Observables &#x7684;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;</a> - Jeremy Lund</li>
</ul>
<h4 id="&#x7EC3;&#x4E60;">&#x7EC3;&#x4E60;</h4>
<ul>
<li><a href="http://reactivex.io/learnrx/" target="_blank">JavaScript &#x4E2D;&#x7684;&#x51FD;&#x6570;&#x5F0F;&#x7F16;&#x7A0B;</a> - Jafar Husain</li>
</ul>
<h4 id="&#x5DE5;&#x5177;">&#x5DE5;&#x5177;</h4>
<ul>
<li><a href="http://rxmarbles.com/" target="_blank">Rx Marbles - Rx Observables &#x7684;&#x4EA4;&#x4E92;&#x5F39;&#x73E0;&#x56FE;</a> - Andr&#xE9; Staltz</li>
<li><a href="https://rxviz.com" target="_blank">Rx Visualizer - Rx Observables &#x7684;&#x52A8;&#x753B;&#x6E38;&#x4E50;&#x573A;</a> - Misha Moroshko</li>
<li><a href="http://reactive.how" target="_blank">Reactive.how - &#x5B66;&#x4E60;&#x54CD;&#x5E94;&#x5F0F;&#x7F16;&#x7A0B;&#x7684;&#x52A8;&#x753B;&#x5361;&#x7247;</a> - C&#xE9;dric Soulas</li>
</ul>
<p><em>&#x5BF9; RxJS 4 &#x611F;&#x5174;&#x8DA3;&#xFF1F; &#x8BF7;&#x67E5;&#x9605; <a href="https://github.com/xgrommx" target="_blank">Denis Stoyanov&apos;s</a> &#x8D85;&#x68D2;&#x7684; <a href="https://xgrommx.github.io/rx-book/" target="_blank">&#x7535;&#x5B50;&#x4E66;</a>!</em></p>
<h2 id="&#x7FFB;&#x8BD1;">&#x7FFB;&#x8BD1;</h2>
<ul>
<li><a href="https://rxjs-cn.github.io/learn-rxjs-operators" target="_blank">&#x7B80;&#x4F53;&#x4E2D;&#x6587;</a></li>
</ul>
<h3 id="&#x53C2;&#x8003;&#x6587;&#x732E;&#x6CE8;">&#x53C2;&#x8003;&#x6587;&#x732E;&#x6CE8;</h3>
<p>&#x672C; GitBook &#x4E2D;&#x5305;&#x542B;&#x7684;&#x6240;&#x6709;&#x53C2;&#x8003;&#x8D44;&#x6599;&#x90FD;&#x662F;&#x5B66;&#x4E60;&#x8D44;&#x6E90;&#xFF0C;&#x5176;&#x4E2D;&#x6709;&#x514D;&#x8D39;&#x7684;&#xFF0C;&#x4E5F;&#x6709;&#x4ED8;&#x8D39;&#xFF0C;&#x5B83;&#x4EEC;&#x5728;&#x6211;&#x5B66;&#x4E60; RxJS &#x65F6;&#x7ED9;&#x4E88;&#x4E86;&#x6781;&#x5927;&#x7684;&#x5E2E;&#x52A9;&#x3002;&#x5982;&#x679C;&#x60A8;&#x9047;&#x5230;&#x60A8;&#x8BA4;&#x4E3A;&#x5E94;&#x8BE5;&#x5305;&#x542B;&#x5728;&#x6B64;&#x5904;&#x7684;&#x6587;&#x7AE0;&#x6216;&#x89C6;&#x9891;&#xFF0C;&#x8BF7;&#x4F7F;&#x7528;&#x9876;&#x90E8;&#x83DC;&#x5355;&#x4E2D;&#x7684;<em>&#x7F16;&#x8F91;&#x6B64;&#x9875;&#x9762;</em>&#x94FE;&#x63A5;&#x5E76;&#x63D0;&#x4EA4; pull request (&#x8BD1;&#x8005;&#x6CE8;&#xFF1A;&#x8BF7;&#x53BB;&#x82F1;&#x6587;&#x7AD9;&#x63D0;&#x4EA4;&#x76F8;&#x5173;&#x94FE;&#x63A5;&#x7684; PR&#xFF0C;&#x4E2D;&#x6587;&#x7AD9;&#x4E2D;&#x7684; PR &#x662F;&#x7528;&#x6765;&#x4FEE;&#x590D;&#x7FFB;&#x8BD1;&#x4E2D;&#x7684;&#x95EE;&#x9898;)&#x3002;&#x5BF9;&#x4E8E;&#x60A8;&#x7684;&#x53CD;&#x9988;&#x6211;&#x5C06;&#x6DF1;&#x8868;&#x611F;&#x8C22;&#xFF01;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="about/README.md" class="navigation navigation-prev " aria-label="Previous page: 关于中文版">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="operators/" class="navigation navigation-next " aria-label="Next page: 操作符">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"前言","level":"2.1","depth":1,"next":{"title":"操作符","level":"2.2","depth":1,"path":"operators/README.md","ref":"operators/README.md","articles":[{"title":"组合","level":"2.2.1","depth":2,"path":"operators/combination/README.md","ref":"operators/combination/README.md","articles":[{"title":"combineAll","level":"2.2.1.1","depth":3,"path":"operators/combination/combineall.md","ref":"operators/combination/combineall.md","articles":[]},{"title":"combineLatest","level":"2.2.1.2","depth":3,"path":"operators/combination/combinelatest.md","ref":"operators/combination/combinelatest.md","articles":[]},{"title":"concat","level":"2.2.1.3","depth":3,"path":"operators/combination/concat.md","ref":"operators/combination/concat.md","articles":[]},{"title":"concatAll","level":"2.2.1.4","depth":3,"path":"operators/combination/concatall.md","ref":"operators/combination/concatall.md","articles":[]},{"title":"forkJoin","level":"2.2.1.5","depth":3,"path":"operators/combination/forkjoin.md","ref":"operators/combination/forkjoin.md","articles":[]},{"title":"merge","level":"2.2.1.6","depth":3,"path":"operators/combination/merge.md","ref":"operators/combination/merge.md","articles":[]},{"title":"mergeAll","level":"2.2.1.7","depth":3,"path":"operators/combination/mergeall.md","ref":"operators/combination/mergeall.md","articles":[]},{"title":"pairwise","level":"2.2.1.8","depth":3,"path":"operators/combination/pairwise.md","ref":"operators/combination/pairwise.md","articles":[]},{"title":"race","level":"2.2.1.9","depth":3,"path":"operators/combination/race.md","ref":"operators/combination/race.md","articles":[]},{"title":"startWith","level":"2.2.1.10","depth":3,"path":"operators/combination/startwith.md","ref":"operators/combination/startwith.md","articles":[]},{"title":"withLatestFrom","level":"2.2.1.11","depth":3,"path":"operators/combination/withlatestfrom.md","ref":"operators/combination/withlatestfrom.md","articles":[]},{"title":"zip","level":"2.2.1.12","depth":3,"path":"operators/combination/zip.md","ref":"operators/combination/zip.md","articles":[]}]},{"title":"条件","level":"2.2.2","depth":2,"path":"operators/conditional/README.md","ref":"operators/conditional/README.md","articles":[{"title":"defaultIfEmpty","level":"2.2.2.1","depth":3,"path":"operators/conditional/defaultifempty.md","ref":"operators/conditional/defaultifempty.md","articles":[]},{"title":"every","level":"2.2.2.2","depth":3,"path":"operators/conditional/every.md","ref":"operators/conditional/every.md","articles":[]}]},{"title":"创建","level":"2.2.3","depth":2,"path":"operators/creation/README.md","ref":"operators/creation/README.md","articles":[{"title":"create","level":"2.2.3.1","depth":3,"path":"operators/creation/create.md","ref":"operators/creation/create.md","articles":[]},{"title":"empty","level":"2.2.3.2","depth":3,"path":"operators/creation/empty.md","ref":"operators/creation/empty.md","articles":[]},{"title":"from","level":"2.2.3.3","depth":3,"path":"operators/creation/from.md","ref":"operators/creation/from.md","articles":[]},{"title":"fromEvent","level":"2.2.3.4","depth":3,"path":"operators/creation/fromevent.md","ref":"operators/creation/fromevent.md","articles":[]},{"title":"fromPromise","level":"2.2.3.5","depth":3,"path":"operators/creation/frompromise.md","ref":"operators/creation/frompromise.md","articles":[]},{"title":"interval","level":"2.2.3.6","depth":3,"path":"operators/creation/interval.md","ref":"operators/creation/interval.md","articles":[]},{"title":"of","level":"2.2.3.7","depth":3,"path":"operators/creation/of.md","ref":"operators/creation/of.md","articles":[]},{"title":"range","level":"2.2.3.8","depth":3,"path":"operators/creation/range.md","ref":"operators/creation/range.md","articles":[]},{"title":"throw","level":"2.2.3.9","depth":3,"path":"operators/creation/throw.md","ref":"operators/creation/throw.md","articles":[]},{"title":"timer","level":"2.2.3.10","depth":3,"path":"operators/creation/timer.md","ref":"operators/creation/timer.md","articles":[]}]},{"title":"错误处理","level":"2.2.4","depth":2,"path":"operators/error_handling/README.md","ref":"operators/error_handling/README.md","articles":[{"title":"catchError","level":"2.2.4.1","depth":3,"path":"operators/error_handling/catch.md","ref":"operators/error_handling/catch.md","articles":[]},{"title":"retry","level":"2.2.4.2","depth":3,"path":"operators/error_handling/retry.md","ref":"operators/error_handling/retry.md","articles":[]},{"title":"retryWhen","level":"2.2.4.3","depth":3,"path":"operators/error_handling/retrywhen.md","ref":"operators/error_handling/retrywhen.md","articles":[]}]},{"title":"多播","level":"2.2.5","depth":2,"path":"operators/multicasting/README.md","ref":"operators/multicasting/README.md","articles":[{"title":"publish","level":"2.2.5.1","depth":3,"path":"operators/multicasting/publish.md","ref":"operators/multicasting/publish.md","articles":[]},{"title":"multicast","level":"2.2.5.2","depth":3,"path":"operators/multicasting/multicast.md","ref":"operators/multicasting/multicast.md","articles":[]},{"title":"share","level":"2.2.5.3","depth":3,"path":"operators/multicasting/share.md","ref":"operators/multicasting/share.md","articles":[]},{"title":"shareReplay","level":"2.2.5.4","depth":3,"path":"operators/multicasting/sharereplay.md","ref":"operators/multicasting/sharereplay.md","articles":[]}]},{"title":"过滤","level":"2.2.6","depth":2,"path":"operators/filtering/README.md","ref":"operators/filtering/README.md","articles":[{"title":"debounce","level":"2.2.6.1","depth":3,"path":"operators/filtering/debounce.md","ref":"operators/filtering/debounce.md","articles":[]},{"title":"debounceTime","level":"2.2.6.2","depth":3,"path":"operators/filtering/debouncetime.md","ref":"operators/filtering/debouncetime.md","articles":[]},{"title":"distinctUntilChanged","level":"2.2.6.3","depth":3,"path":"operators/filtering/distinctuntilchanged.md","ref":"operators/filtering/distinctuntilchanged.md","articles":[]},{"title":"filter","level":"2.2.6.4","depth":3,"path":"operators/filtering/filter.md","ref":"operators/filtering/filter.md","articles":[]},{"title":"first","level":"2.2.6.5","depth":3,"path":"operators/filtering/first.md","ref":"operators/filtering/first.md","articles":[]},{"title":"ignoreElements","level":"2.2.6.6","depth":3,"path":"operators/filtering/ignoreelements.md","ref":"operators/filtering/ignoreelements.md","articles":[]},{"title":"last","level":"2.2.6.7","depth":3,"path":"operators/filtering/last.md","ref":"operators/filtering/last.md","articles":[]},{"title":"sample","level":"2.2.6.8","depth":3,"path":"operators/filtering/sample.md","ref":"operators/filtering/sample.md","articles":[]},{"title":"single","level":"2.2.6.9","depth":3,"path":"operators/filtering/single.md","ref":"operators/filtering/single.md","articles":[]},{"title":"skip","level":"2.2.6.10","depth":3,"path":"operators/filtering/skip.md","ref":"operators/filtering/skip.md","articles":[]},{"title":"skipUntil","level":"2.2.6.11","depth":3,"path":"operators/filtering/skipuntil.md","ref":"operators/filtering/skipuntil.md","articles":[]},{"title":"skipWhile","level":"2.2.6.12","depth":3,"path":"operators/filtering/skipwhile.md","ref":"operators/filtering/skipwhile.md","articles":[]},{"title":"take","level":"2.2.6.13","depth":3,"path":"operators/filtering/take.md","ref":"operators/filtering/take.md","articles":[]},{"title":"takeUntil","level":"2.2.6.14","depth":3,"path":"operators/filtering/takeuntil.md","ref":"operators/filtering/takeuntil.md","articles":[]},{"title":"takeWhile","level":"2.2.6.15","depth":3,"path":"operators/filtering/takewhile.md","ref":"operators/filtering/takewhile.md","articles":[]},{"title":"throttle","level":"2.2.6.16","depth":3,"path":"operators/filtering/throttle.md","ref":"operators/filtering/throttle.md","articles":[]},{"title":"throttleTime","level":"2.2.6.17","depth":3,"path":"operators/filtering/throttletime.md","ref":"operators/filtering/throttletime.md","articles":[]}]},{"title":"转换","level":"2.2.7","depth":2,"path":"operators/transformation/README.md","ref":"operators/transformation/README.md","articles":[{"title":"buffer","level":"2.2.7.1","depth":3,"path":"operators/transformation/buffer.md","ref":"operators/transformation/buffer.md","articles":[]},{"title":"bufferCount","level":"2.2.7.2","depth":3,"path":"operators/transformation/buffercount.md","ref":"operators/transformation/buffercount.md","articles":[]},{"title":"bufferTime","level":"2.2.7.3","depth":3,"path":"operators/transformation/buffertime.md","ref":"operators/transformation/buffertime.md","articles":[]},{"title":"bufferToggle","level":"2.2.7.4","depth":3,"path":"operators/transformation/buffertoggle.md","ref":"operators/transformation/buffertoggle.md","articles":[]},{"title":"bufferWhen","level":"2.2.7.5","depth":3,"path":"operators/transformation/bufferwhen.md","ref":"operators/transformation/bufferwhen.md","articles":[]},{"title":"concatMap","level":"2.2.7.6","depth":3,"path":"operators/transformation/concatmap.md","ref":"operators/transformation/concatmap.md","articles":[]},{"title":"concatMapTo","level":"2.2.7.7","depth":3,"path":"operators/transformation/concatmapto.md","ref":"operators/transformation/concatmapto.md","articles":[]},{"title":"exhaustMap","level":"2.2.7.8","depth":3,"path":"operators/transformation/exhaustmap.md","ref":"operators/transformation/exhaustmap.md","articles":[]},{"title":"expand","level":"2.2.7.9","depth":3,"path":"operators/transformation/expand.md","ref":"operators/transformation/expand.md","articles":[]},{"title":"exhaustMap","level":"2.2.7.10","depth":3,"path":"operators/transformation/exhaustmap.md","ref":"operators/transformation/exhaustmap.md","articles":[]},{"title":"groupBy","level":"2.2.7.11","depth":3,"path":"operators/transformation/groupby.md","ref":"operators/transformation/groupby.md","articles":[]},{"title":"map","level":"2.2.7.12","depth":3,"path":"operators/transformation/map.md","ref":"operators/transformation/map.md","articles":[]},{"title":"mapTo","level":"2.2.7.13","depth":3,"path":"operators/transformation/mapto.md","ref":"operators/transformation/mapto.md","articles":[]},{"title":"mergeMap","level":"2.2.7.14","depth":3,"path":"operators/transformation/mergemap.md","ref":"operators/transformation/mergemap.md","articles":[]},{"title":"partition","level":"2.2.7.15","depth":3,"path":"operators/transformation/partition.md","ref":"operators/transformation/partition.md","articles":[]},{"title":"pluck","level":"2.2.7.16","depth":3,"path":"operators/transformation/pluck.md","ref":"operators/transformation/pluck.md","articles":[]},{"title":"reduce","level":"2.2.7.17","depth":3,"path":"operators/transformation/reduce.md","ref":"operators/transformation/reduce.md","articles":[]},{"title":"scan","level":"2.2.7.18","depth":3,"path":"operators/transformation/scan.md","ref":"operators/transformation/scan.md","articles":[]},{"title":"switchMap","level":"2.2.7.19","depth":3,"path":"operators/transformation/switchmap.md","ref":"operators/transformation/switchmap.md","articles":[]},{"title":"window","level":"2.2.7.20","depth":3,"path":"operators/transformation/window.md","ref":"operators/transformation/window.md","articles":[]},{"title":"windowCount","level":"2.2.7.21","depth":3,"path":"operators/transformation/windowcount.md","ref":"operators/transformation/windowcount.md","articles":[]},{"title":"windowTime","level":"2.2.7.22","depth":3,"path":"operators/transformation/windowtime.md","ref":"operators/transformation/windowtime.md","articles":[]},{"title":"windowToggle","level":"2.2.7.23","depth":3,"path":"operators/transformation/windowtoggle.md","ref":"operators/transformation/windowtoggle.md","articles":[]},{"title":"windowWhen","level":"2.2.7.24","depth":3,"path":"operators/transformation/windowwhen.md","ref":"operators/transformation/windowwhen.md","articles":[]}]},{"title":"工具","level":"2.2.8","depth":2,"path":"operators/utility/README.md","ref":"operators/utility/README.md","articles":[{"title":"do","level":"2.2.8.1","depth":3,"path":"operators/utility/do.md","ref":"operators/utility/do.md","articles":[]},{"title":"delay","level":"2.2.8.2","depth":3,"path":"operators/utility/delay.md","ref":"operators/utility/delay.md","articles":[]},{"title":"delayWhen","level":"2.2.8.3","depth":3,"path":"operators/utility/delaywhen.md","ref":"operators/utility/delaywhen.md","articles":[]},{"title":"dematerialize","level":"2.2.8.4","depth":3,"path":"operators/utility/dematerialize.md","ref":"operators/utility/dematerialize.md","articles":[]},{"title":"let","level":"2.2.8.5","depth":3,"path":"operators/utility/let.md","ref":"operators/utility/let.md","articles":[]},{"title":"timeout","level":"2.2.8.6","depth":3,"path":"operators/utility/timeout.md","ref":"operators/utility/timeout.md","articles":[]},{"title":"toPromise","level":"2.2.8.7","depth":3,"path":"operators/utility/topromise.md","ref":"operators/utility/topromise.md","articles":[]}]},{"title":"完整列表","level":"2.2.9","depth":2,"path":"operators/complete.md","ref":"operators/complete.md","articles":[]}]},"previous":{"title":"关于中文版","level":"1.2","depth":1,"path":"about/README.md","ref":"about/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","advanced-emoji","prism","highlight","copy-code-button","edit-link","github","github-buttons"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{},"github":{"url":"https://github.com/RxJS-CN/learn-rxjs-operators"},"search":{},"lunr":{"maxIndexSize":1000000},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"github-buttons":{"buttons":[{"user":"RxJS-CN","repo":"learn-rxjs-operators","type":"star","size":"small","count":true},{"user":"RxJS-CN","repo":"learn-rxjs-operators","type":"fork","size":"small","count":true}]},"copy-code-button":{},"advanced-emoji":{"embedEmojis":false},"include-codeblock":{"check":false,"edit":false,"fixlang":false,"lang":"","template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"帮忙纠错","base":"https://github.com/RxJS-CN/learn-rxjs-operators/tree/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"index.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"学习 RxJS 操作符","gitbook":"3.1.1"},"file":{"path":"index.md","mtime":"2018-10-15T09:07:06.000Z","type":"markdown"},"gitbook":{"version":"3.1.1","time":"2018-10-15T09:31:22.754Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-edit-link/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

